package Model.States;

import Model.Task;

public class OldCleanState extends PObjectState
{

    public void remove(PersistentObject obj)
    {
    	Task persistentobject=(Task)obj;
    	persistentobject.getDatainterface().delete(); 
    }


    public void registerDirty(PersistentObject obj)
    {
    	Task persistentobject=(Task)obj;
    	persistentobject.getDatainterface().insert(); 
    }

}
